package com.xuecheng.content.model.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xuecheng.base.exception.ValidationGroups;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;

@Data
public class AddTeacherDto {

    /**
     * 主键
     */

    private Long id;

    /**
     * 课程标识
     */
    @NotEmpty(groups = {ValidationGroups.Insert.class}, message = "添加课程id不能为空")
    @NotEmpty(groups = {ValidationGroups.Update.class}, message = "修改课程id不能为空")
    private Long courseId;

    /**
     * 教师标识
     */
    private String teacherName;

    /**
     * 教师职位
     */
    private String position;

    /**
     * 教师简介
     */
    private String introduction;

    /**
     * 照片
     */
    private String photograph;

    /**
     * 创建时间
     */

    private LocalDateTime createDate;

}
